namespace ArivisTests.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class EF6 : DbMigration
    {
        public override void Up()
        {
            DropPrimaryKey("dbo.TestScenarioTestPlans");
            RenameTable(name: "dbo.TestScenarioTestPlans", newName: "TestPlanTestScenarios");
            AddPrimaryKey("dbo.TestPlanTestScenarios", new[] { "TestPlan_Id", "TestScenario_Id" });
        }
        
        public override void Down()
        {
            DropPrimaryKey("dbo.TestPlanTestScenarios");
            RenameTable(name: "dbo.TestPlanTestScenarios", newName: "TestScenarioTestPlans");
            AddPrimaryKey("dbo.TestScenarioTestPlans", new[] { "TestScenario_Id", "TestPlan_Id" });
        }
    }
}
